package com.liujit.standard.basis.admin.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description: 用户角色
 * @author: liujun
 * @create: 2021/3/24 3:14 下午
 **/
@Data
@ApiModel("用户角色")
public class SysUserRole {

    @ApiModelProperty(value = "主键")
    @TableField(fill = FieldFill.INSERT)
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;
}
